package org.example;
public class InsertDataExample {

    public static void main(String[] args) {
        String url = "jdbc:mysql://localhost:3306/my_new_database?useSSL=false&serverTimezone=UTC";
        String user = "root"; // 替换为你的MySQL用户名
        String password = "CST200212"; // 替换为你的MySQL密码
        addupData.addupdata(url,user,password);
        deleateDate.deleteRecord(url,user,password,2);
        upDate.updateRecord(5,"手机","2000",url,user,password);
        viewAllDate.viewAllRecords(url,user,password);
    }
}